import { createApp } from "vue";
import App from "./App.vue";
import router from "./router/index";
import store from "./store/index";
import permission from "./utils/hasPermission/index";

import "@/styles/index.scss";
import "@/styles/color/index.scss";

import ElementPlus from "element-plus";
import "element-plus/dist/index.css";

import i18n from "@/locales/i18n.ts";

createApp(App)
  .use(ElementPlus)
  .use(i18n)
  .use(permission)
  .use(router)
  .use(store)
  .mount("#app");
